STEP 13: Now that our function's written, we should call it!
- Let's predict how much sleep a student would get if they were 50 minutes from school.
- In , drag in Return Variable OUTSIDE and BELOW your function.
- Change my_function(my_var) to line(slope, 50, y_intercept).
- Change the variable to the left of the = sign from my_var to predicted_sleep.
To navigate the page using the TAB key, first press ESC to exit the code editor.